import { Global, Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import VoteOptions from 'src/entities/voteOptions.entity';
import { VoteOptionModelService } from './vote-option-model.service';

@Global()
@Module({
  imports : [
    TypeOrmModule.forFeature([VoteOptions])
  ],
  providers: [VoteOptionModelService],
  exports : [VoteOptionModelService]
})
export class VoteOptionModelModule {}
